package com.yc.pre.entity.bean;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName PreDataPool
 * @Description 试标库数据池
 * @Date 2021/02/22 10:25:50
 * @Created by ccc-j
 * @email ccc-ju@outlook.com
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "试标库数据池")
@Builder
public class PreDataPool {

    @ApiModelProperty(value = "数据池ID")
    private Integer id;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "拍卖状态（1:即将开始，3:拍卖中，5:成功交易，7:失败，9:终止，11:撤回，默认0）")
    private Integer auctionStatus;

    @ApiModelProperty(value = "抵押状态（1:无抵押，2:有抵押，0:未知）")
    private Integer collateralStatus;

    @ApiModelProperty(value = "房产/土地类型（1:商用，2:住宅，3:工业，0:未知，默认0）")
    private Integer houseLandType;

    @ApiModelProperty(value = "建筑面积")
    private BigDecimal buildingArea;

    @ApiModelProperty(value = "文书查找状态（0:未找到文书，1:找到文书，默认1）")
    private Integer documentFindStatus;

    @ApiModelProperty(value = "文书案号")
    private String documentCaseNumber;

    @ApiModelProperty(value = "文书链接地址")
    private String documentLinkAddress;

    @ApiModelProperty(value = "文书是否在附件中（0:否，1:是）")
    private Integer documentInAttach;

    @ApiModelProperty(value = "债务角色")
    private String obligors;

    @ApiModelProperty(value = "是否删除（0：未删除，1：已删除）")
    private Integer isDeleted;

    @ApiModelProperty(value = "创建时间")
    @JSONField(format = "yyyy-MM-dd hh:MM:ss")
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @JSONField(format = "yyyy-MM-dd hh:MM:ss")
    private Date gmtModify;

    @ApiModelProperty(value = "删除时间")
    @JSONField(format = "yyyy-MM-dd hh:MM:ss")
    private Date gmtDeleted;

}
